To be involved in such a way to affect the outcome, to be a contributing factor
Exercise played a major part in his weight loss.